package com.doradance.view.status;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.doradance.R;


/**
 * Description:
 * Author:yong
 * Date:2017-12-21
 */

public class DefaultEmptyPageView implements StatusView {
    public ImageView ivStatus;
    public TextView tvStatus;

    @Override
    public final View onCreateStatusView(LayoutInflater inflater, ViewGroup parent) {
        View view = inflater.inflate(R.layout.layout_status_empty_default, parent, false);
        ivStatus = (ImageView) view.findViewById(R.id.iv_status_icon);
        tvStatus = (TextView) view.findViewById(R.id.tv_status_text);
        return view;
    }

    @Override
    public void onStatusViewCreated() {

    }

    @Override
    public final int getStatus() {
        return ViewConstant.VIEW_STATUS_EMPTY;
    }

    @Override
    public final void onViewAttachedToWindow() {

    }

    @Override
    public final void onViewDetachedFromWindow() {

    }
}
